package cn.itcast.nems.base.service;

import cn.itcast.ic.common.bean.Page;
import cn.itcast.nems.base.dao.entity.ResponsibilityCampus;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 员工归属负责校区;注：通常为出纳负责 服务类
 * </p>
 *
 * @author czq
 * @since 2024-02-28
 */
public interface ResponsibilityCampusService extends IService<ResponsibilityCampus> {
    Page<ResponsibilityCampus> listPage(Integer pageNumber, Integer pageSize, ResponsibilityCampus params);

    ResponsibilityCampus getById(String id);

    String create(ResponsibilityCampus params);

    Boolean delete(String id);

    Boolean delete(String id, String state);

    Boolean update(ResponsibilityCampus params);

    List<ResponsibilityCampus> defaultCampusList(String defaultCampusName);

    ResponsibilityCampus getResponsibilityCampusIdsByEmployeeEmail(String requiredAccount);

    Boolean exists(String id, String employeeEmail);
}
